package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface AuthorService extends IService<ApAuthor> {

    public ApAuthor findByUserId(Integer userId);

    public ResponseResult insert(@RequestBody ApAuthor apAuthor);
}
